package com.ultrawise.survey.core;

import java.util.ArrayList;
import java.util.List;

public class Page <E>{
	private int pageNumber; //当前页数
	private int pagesAvailable;//总页数
	private int records;//记录数
	private List<E> pageItems = new ArrayList<E>();//结果集

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public void setPagesAvailable(int pagesAvailable) {
		this.pagesAvailable = pagesAvailable;
	}

	public void setPageItems(List<E> pageItems) {
		this.pageItems = pageItems;
	}

	public int getPageNumber() {
		return pageNumber;
	}

	public int getPagesAvailable() {
		return pagesAvailable;
	}

	public List<E> getPageItems() {
		return pageItems;
	}

	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}
	
}
